package com.carefree.bookmall.common.vo;

import java.io.Serializable;

/**
 * @ClassName:BookVo
 * @Description: 书籍查询vo
 * @Author Tengbin
 */
public class BookQueryVo implements Serializable {

    private static final long serialVersionUID = 6517581032545046504L;

    /**
     * 书籍类型名称
     */
    private String typeName;

    /**
     * 书籍类别访问url
     */
    private String typeUrl;

    /**
     * bookId
     */
    private Integer id;
    /**
     * 国际标准书号
     */
    private String isbn;
    /**
     * 书名
     */
    private String name;
    /**
     * 作者
     */
    private String author;
    /**
     * 出版社
     */
    private String publisher;
    /**
     * 封面
     */
    private String cover;
    /**
     * 预览图
     */
    private String image1;
    /**
     * 预览图
     */
    private String image2;
    /**
     * 价格
     */
    private Double price;
    /**
     * 书籍类型id
     */
    private Integer typeId;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 备注
     */
    private String mark;

    private boolean isscroll;

    private boolean ishot;

    private boolean isnew;


    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeUrl() {
        return typeUrl;
    }

    public void setTypeUrl(String typeUrl) {
        this.typeUrl = typeUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getImage1() {
        return image1;
    }

    public void setImage1(String image1) {
        this.image1 = image1;
    }

    public String getImage2() {
        return image2;
    }

    public void setImage2(String image2) {
        this.image2 = image2;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public boolean isIsscroll() {
        return isscroll;
    }

    public void setIsscroll(boolean isscroll) {
        this.isscroll = isscroll;
    }

    public boolean isIshot() {
        return ishot;
    }

    public void setIshot(boolean ishot) {
        this.ishot = ishot;
    }

    public boolean isIsnew() {
        return isnew;
    }

    public void setIsnew(boolean isnew) {
        this.isnew = isnew;
    }

    @Override
    public String toString() {
        return "BookQueryVo{" +
                "typeName='" + typeName + '\'' +
                ", typeUrl='" + typeUrl + '\'' +
                ", id=" + id +
                ", isbn='" + isbn + '\'' +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", publisher='" + publisher + '\'' +
                ", cover='" + cover + '\'' +
                ", image1='" + image1 + '\'' +
                ", image2='" + image2 + '\'' +
                ", price=" + price +
                ", typeId=" + typeId +
                ", stock=" + stock +
                ", mark='" + mark + '\'' +
                ", isscroll=" + isscroll +
                ", ishot=" + ishot +
                ", isnew=" + isnew +
                '}';
    }
}
